package org.platform.processor.diagnose.tree;


import org.platform.mo.db.FdDiagnoseTaskTreeNode;

import java.util.List;

/**
 * 故障树诊断接口
 *
 * @author FengJie
 * @date 2018/8/1
 */
public interface IFaultTreeNodeDiagnose {
    /**
     * 执行具体的诊断
     *
     * @param thisNode     当前诊断的节点
     * @param diagnoseList 所有的诊断列表
     * @return 状态的定义:  true: 正常   false: 异常
     */
    boolean doDiagnose(FdDiagnoseTaskTreeNode thisNode, List<FdDiagnoseTaskTreeNode> diagnoseList);

}
